#pragma once
#include "stdafx.h"
using namespace sf;
class ChickenDefGame;
class Weasel
{
	//animaciones de la gallina

	AniSprite* m_aniWalk;
	AniSprite* m_aniCurrent;
	
	bool alive;
	float speed;
	Vector2f dir;
	Sound hitSound;
	
	ChickenDefGame* game;
public:

	void Reset();
	void Die();
	void SilentDeath();

	void Update(float dt);
	void Draw(RenderWindow* wnd);
	void Move(int dx, int dy);
	bool IsAlive();
	float GetCircleRadius();
	Vector2f GetCenter();
	
	Weasel(ChickenDefGame * _game);
	~Weasel(void);
};

